import React, { memo } from 'react'
import {
  Wrapper
}from './style'

export default memo(function minRankingCover(props) {
  const {
    name,
    coverImgUrl,
    updateFrequency
  } = props
  return (
    <Wrapper className="Wrapper">
      <img src={`${coverImgUrl}?param=50y50`} alt=""/>
      <div className="content">
        <div className="title">{name}</div>
        <div className="updateNum">{updateFrequency}</div>
      </div>
    </Wrapper>
  )
})
